project(moos-apps)

cmake_minimum_required(VERSION 2.6)

set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")

find_package(MOOS REQUIRED)
include_directories(${MOOS_INCLUDE_DIRS})
link_directories(${MOOS_LIBRARY_DIRS})
set(LIBS ${LIBS} ${MOOS_LIBRARIES})

INCLUDE(FindPackageMessage)

message("*****************")
if(MOOS_FOUND)
  message("MOOS FOUND!")
  message("${MOOS_SOURCE_DIR}")
else(MOOS_FOUND)
  message("MOOS NOT FOUND")
endif(MOOS_FOUND)
message("*****************")

add_subdirectory(person1)
add_subdirectory(person2)

